<?php

/**
 * PartyEmailForm class.
 */
class EmailForm extends CFormModel
{

    public $recipients;
    public $subject;
    public $message;
	
	public $attachment;

    /**
     * Declares the validation rules.
     */
    public function rules()
    {
        return array(
            // contacts, subject, message is required
            array('recipients, subject, message', 'required'),
        );
    }

}